package com.azhon.basic;

public final class Constants {
    /**
     * 静态字符串常量
     */
    public static final String IS_LOGIN = "is_login";
    public static final String IS_MONITOR = "is_monitor";
    public static final String IS_INIT_DB = "is_init_db";
    public static final String TOKEN = "token";
    public static final String ID = "id";
    public static final String USER_NAME = "user_name";
    public static final String PASS_WORD = "pass_word";
    public static final String NAME = "name";
    public static final String GENDER = "gender";
    public static final String CARRIE_NAME = "carrie_name";
    public static final String DRIVER_PLATE_NO = "driver_name";
    public static final String DRIVING_LICENSE_NO = "driving_license_to";
    public static final String QUASI_DRIVING_TYPE = "quasi_driving_type";
    
    public static final String DEVICE_TOKEN = "device_token";
    /**
     * 登录状态
     */
    public static final String LOGIN_STATE_TRUE = "1";
    
    /**
     * 登出状态
     */
    public static final String LOGIN_STATE_FALSE = "0";

    /**
     * 用户角色
     */
    public static final String SP_USER_ROLE = "sp_user_role";
    /**
     * 是否要显示闪屏网络验证
     */
    public static final String SP_HIDDEN_SPLASH_JUDGE = "SP_HIDDEN_SPLASH_JUDGE";
    /**
     * 是否要显示闪屏
     */
    public static final String SP_HIDDEN_SPLASH = "sp_hidden_splash";
    /**
     * 推送给广播发的消息
     */
    public static final String KEY_PUSH_TITLE = "key_push_title";
    public static final String KEY_PUSH_CONTENT = "key_push_content";
    public static final String KEY_PUSH_ACTION = "key_push_action";
    public static final String KEY_PUSH_NOTIFER_ID = "key_push_notifer_id";
    /**
     * 是否显示隐私条款
     */
    public static final String IS_SHOW_SECURITY = "is_show_security";
    /**
     * 小红点尚未阅读数
     */
    public static final String BADGE_NUMBER = "badge_number";
    /**
     * MIUI 系统
     */
    public static final String ROM_MI = "MIUI";

    /**
     * 网络建立连接所用最长时间
     */
    public static final int MAX_CONNECT_TIME = 10;
    /**
     * 网络读所用最长时间
     */
    public static final int MAX_READ_TIME = 20;
    /**
     * 网络写所用最长时间
     */
    public static final int MAX_WHITE_TIME = 30;
}
